import { User } from "./Interfaces";

export const eventToolClick = function (type, emit) {
  emit?.("toolClick", type);
};

export const eventAvatarClick = function (userInfo: User, emit, e) {
  emit?.("avatarClick", userInfo, e);
};